<?php if (!defined('THINK_PATH')) exit();?><!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta content="width=device-width,user-scalable=no"name="viewport">
<title>会员详情</title>
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/base.css" />
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/style.css" />
<link rel="stylesheet" type="text/css" href="<?php echo C('WEB_URL');?>Public/business/style/bootstrap.min.css" />
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/jquery-2.1.4.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/bootstrap.min.js"></script>
<script type="text/javascript" charset="UTF-8" src="<?php echo C('WEB_URL');?>Public/business/js/script.js"></script>
</head>
<body>
<div id="box">
 <div class="navbar navbar-default navbar-fixed-top">
  <header>
   <h1><a href="<?php echo U('Business/manage');?>"><span class="glyphicon glyphicon-menu-left"></span></a></h1>
   <p class="title">会员详情</p>
  </header>
 </div><!--navbar-fixed-top-->
 <div class="member">
  <ul class="detailsUl" id="memberDiv">
   <li><span class="detOne">会员账号</span><span class="detTwo">NO.<?php echo ($data['user_id']); ?></span></li>
   <li><span class="detOne">手机号</span><span class="detTwo"><?php echo ($data["user_name"]); ?></span></li>
   <li><span class="detOne">昵称</span><span class="detTwo"><?php echo ($data["nick_name"]); ?></span></li>
   <li><span class="detOne">性别</span><span class="detTwo"><?php echo ($data["sex"]); ?></span></li>
<!--    <li><span class="detOne">会员等级</span><span class="detTwo">黄金会员</span></li> -->
   <li><span class="detOne">会员积分</span><span class="detTwo"><?php echo ($data["ntegral"]); ?></span></li>
   <li><span class="detOne">剩余优惠次数</span><span class="detTwo"><?php echo ($data["count"]); ?></span></li>
   <li><span class="detOne">开卡日期</span><span class="detTwo"><?php echo ($data["creattime"]); ?></span></li>
  <!--  <li><span class="detOne">卡片有效日期</span><span class="detTwo"><?php echo ($data["endtime"]); ?></span></li>
   <li><span class="detOne">近三个月消费次数</span><span class="detTwo">7</span></li> -->
   <li><span class="detOne">生日</span><span class="detTwo"><?php echo ($data["birthday"]); ?></span></li>
  </ul>
 </div><!--member-->
 	<?php if($list2["purview"] == 0): ?><div class="navbar navbar-default navbar-fixed-bottom">	
   <footer>
    <dl>
     <dt><a href="index.html"><img src="<?php echo C('WEB_URL');?>Public/business/images/home.png" /></a></dt>
     <dd><a href="index.html" class="current">首页</a></dd>
    </dl>
    <dl>
     <dt><a href="pullrefresh_sub.html"><img src="<?php echo C('WEB_URL');?>Public/business/images/deal_07.jpg" /></a></dt>
     <dd><a href="pullrefresh_sub.html">员工管理</a></dd>
    </dl>
    <dl>
     <dt><a href="manage.html"><img src="<?php echo C('WEB_URL');?>Public/business/images/deal_09.jpg" /></a></dt>
     <dd><a href="manage.html">会员管理</a></dd>
    </dl>
   </footer>
   
  </div><!--/navbar-->
 	<?php else: endif; ?>
</div><!--box-->
<script type="text/javascript">
//微信判断header是否显示
if(isWeiXin()){ 
//alert("====");
$(".title").hide();
} 
else{
//alert("+++++");
}	
</script>
</body>
</html>